﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Nhd.Models
{
    public class Nhd_Grid
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int GridID { get; set; }
        [StringLength(200)]
        public string Name { get; set; }
        [StringLength(200)]
        public string Tel { get; set; }
        [StringLength(200)]
        public string ID { get; set; }
        [StringLength(200)]
        public string GridName { get; set; }
        [StringLength(200)]
        public 网格员类型 type { get; set; }
        public int StreetID { get; set; }
        public int CommunityID { get; set; }
    }
    public enum 网格员类型
    {
        网格长 = 1,
        网格员
    }
}
